package queue;

import java.util.concurrent.SynchronousQueue;

/**
 * @author jiangwz
 * @create 2019/9/15.
 */
public class TestArrayBlockingQueue {

    public static void main(String[] args){

        /**
         * 主要就这3个
         * LinkedBlockingDeque  链表
         * ArrayBlockingQueue   数组
         * SynchronousQueue     应该是链表  只能放一个元素进队列,没人消费的话,再放的话会阻塞
         *
         */
        SynchronousQueue synchronousQueue = new SynchronousQueue();
    }
}
